package cn.wdm.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.wdm.basic.domain.BaseDomain;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author laozhang
 * @since 2022-06-21
 */
@Data
public class Role extends BaseDomain{

    private static final long serialVersionUID = 1L;
    private String name;
    private String sn;
    //当前角色拥有的按钮权限
    private List<Long> permissions;
    //当前角色拥有的菜单权限
    private List<Long> menus;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    @Override
    public String toString() {
        return "Role{" +
        ", name=" + name +
        ", sn=" + sn +
        "}";
    }
}
